package com.ygp.asyn.entity;

import lombok.Data;

@Data
public class TimeOutOption {
    /**
     * 设置连接超时时间
     */
    private Integer connectTimeOut;
    /**
     * 获取数据时间
     */
    private Integer socketTimeOut;

    public TimeOutOption(Integer connectTimeOut, Integer socketTimeOut) {
        this.connectTimeOut = connectTimeOut;
        this.socketTimeOut = socketTimeOut;
    }

    public TimeOutOption() {
    }
}
